Audio rendering device and audio configurator device for audio stream selection, and related methods

ABSTRACT

Audio rendering devices comprising at least one audio rendering unit for playing audio streams, processing circuit and a wireless communication unit for establishing wireless links and related method are disclosed. One audio rendering device is configured to receive a remote audio stream prioritization policy comprising one or more lists of associations between audio stream attributes and priority values, update a local audio stream prioritization policy based on the remote audio stream prioritization policy, identify audio streams available via wireless links, retrieve audio stream attributes of the available audio streams, select an available audio stream to be played among the available audio streams, based on the updated local audio stream prioritization policy and based on the audio stream attributes of the available audio streams, and play the selected audio stream, by the audio rendering unit of the audio rendering device.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a divisional of U.S. patent application Ser. No.17/148,348, filed Jan. 13, 2021, which claims the benefit of U.S.provisional patent application No. 62/992,318, filed Mar. 20, 2020, allof which are incorporated by reference herein for all purposes.

BACKGROUND

Bluetooth audio rendering devices (i.e., earphone, loudspeaker, carentertainment system, etc.) are more and more spread into the market.One of the recent features improving the user experience is thepossibility to connect a Bluetooth audio rendering device to multipleaudio stream source devices, for example to a smartphone, a laptop,etc., while keeping only one active audio stream source device, andswitching between them.

The use cases of this kind of feature are numerous, and include e.g.:

-   -   a same user for the audio rendering device willing to switch the        audio stream source from his smartphone to his laptop;    -   different users willing to control the same audio rendering        device, etc.

In existing implementations, the switching behavior has been implementedin different ways. The most basic one is to keep the first audio streamsource device that started streaming as the active audio stream sourcedevice until it stops transmitting the audio stream, and then to switchto the other audio stream source device if it is transmitting an audiostream.

However, waiting for the active audio stream to be paused takesgenerally several seconds, because it is actually done at theapplication protocol level a few seconds after stopping the audio streamsource device, thus introducing an undesired latency in the switching.

Some implementations have chosen to select the audio stream sourcedevice that is the last one having started an audio stream as the activeaudio stream source. By switching upon the start of an audio streamrather than after stopping an audio stream, the latency issue isresolved. However, this type of implementation introduces other issues.For instance, any video or audio encountered while browsing is goinginterrupt an ongoing music streaming.

Another solution is known from U.S. Pat. No. 9,641,963. According tothis solution, when a first audio stream source device is streaming afirst audio stream to an audio rendering device, and when a second audiostream source device attempts to connect to the audio rendering devicein order to stream a second audio stream, then the first audio streamsource device is requested by the audio rendering device to selectwhether or not the second audio stream should be played instead of thefirst audio stream.

Hence, it is the first audio stream source device that decides to playthe first audio stream or the second audio stream, and informs the audiorendering device of its decision.

A limitation of the solution proposed by patent U.S. Pat. No. 9,641,963is that it requires compatible audio stream source devices, able toprocess such requests received from the audio rendering device. Itcannot work properly if not all audio stream source devices arecompatible, and/or it might lead to conflicting instructions for theaudio rendering device. Another limitation is that patent U.S. Pat. No.9,641,963 does not address the situation where the selected audio streamstops, especially in the case where more than two audio stream sourcedevices are connected to the audio rendering device.

Another solution is known from patent application US2013/182798.According to this solution, the audio rendering device includes a userinterface enabling the user to switch from one audio stream to another.

A limitation of this solution is that not all audio rendering devicescan be provided with suitable user interface hardware means. Anotherlimitation is that any switching from an audio stream to anotherrequires an action from the user, which might prove cumbersomeespecially if there are more than two audio stream source devicesconnected to the audio rendering device.

SUMMARY

This disclosure relates to an audio rendering device and to an audioconfigurator device for enabling the audio rendering device to select anaudio stream among a plurality of audio streams available for streaming.

The present disclosure aims at proposing a solution which overcomes allor part of the limitations discussed above.

In particular, the present disclosure aims at proposing a solution thatenhances the user experience, compatible with existing audio streamsource devices and not necessarily requiring specific hardware means onthe audio rendering device for providing a user interface.

For this purpose, and according to a first aspect, the presentdisclosure relates to an audio rendering device comprising at least oneaudio rendering unit for playing audio streams, a processing circuit anda wireless communication unit for establishing wireless links, whereinsaid audio rendering device is configured to:

-   -   receive, by the wireless communication unit, a remote audio        stream prioritization policy comprising one or more lists of        associations between audio stream attributes and priority        values;    -   update, by the processing circuit, a local audio stream        prioritization policy based on the remote audio stream        prioritization policy;    -   identify, by the processing circuit, audio streams that are        available via wireless links;    -   retrieve, by the processing circuit, audio stream attributes of        the available audio streams;    -   select, by the processing circuit, an available audio stream to        be played among the available audio streams, based on the        updated local audio stream prioritization policy and based on        the audio stream attributes of the available audio streams;    -   play the selected available audio stream by the at least one        audio rendering unit of the audio rendering device.

Hence, according to the present disclosure, the audio rendering deviceis the one selecting the audio stream that is to be played, based on apreviously received and stored local audio stream prioritization policy.When it has to select an available audio stream among several audiostreams available for streaming, the audio rendering device cantherefore compare in an autonomous manner the audio stream attributes ofthe available audio streams to those mentioned in the local audio streamprioritization policy, and decide which available audio stream should beplayed based on the priority values associated to the audio streamattributes of the available audio streams, said priority values beingretrieved from the local audio stream prioritization policy. Basically,the audio rendering device selects the available audio stream for whichthe one or more priority values satisfy a predetermined selectioncriterion. For instance, if each available audio stream comprises onlyone audio stream attribute and one priority value, the selectioncriterion may consist in selecting the available audio stream having thepriority value indicating highest priority. If the selected availableaudio stream stops, then the audio rendering device can selectautomatically another available audio stream for which the one or morepriority values satisfy the selection criterion, e.g., the availableaudio stream having the immediately lower priority value, etc. If anavailable audio stream for which the one or more priority values satisfythe selection criterion restarts, the audio rendering device can decideautomatically to switch back to the restarted available audio stream,etc.

The local audio stream prioritization policy includes at least two audiostream attributes with respective priority values. Of course, the localaudio stream prioritization policy preferably includes three or moreaudio stream attributes, with their respective priority values. It isnoted that not all the priority values need to be different. However,the local audio stream prioritization policy has at least two differentpriority values associated to two different audio stream sourceattributes.

Also, it is emphasized that the priority values need not to beexplicitly mentioned in the local audio stream prioritization policy.For instance, the priority values can be mentioned implicitly, e.g., byhaving the audio stream attributes ordered in the list according totheir respective priority values.

It is noted that, in the context of the present disclosure, an “audiostream attribute” can e.g., refer to different types of audio streamsources.

For instance, an audio stream attribute can be an identifier of an audiostream source device. Such an identifier can be e.g., a MAC address ofthe audio stream source device, a device serial number of the audiostream source device, or any other suitable identifier enabling todistinguish different audio stream source devices.

According to another example, an audio stream attribute can be anidentifier of a type of audio stream source device. For instance, afirst type of audio stream source device can be smartphones, a secondtype can be personal computers, etc. In that case, it is possible toe.g., prioritize smartphones over laptops, etc. Such an identifier canbe e.g., a Bluetooth class of device, if the wireless communication unitis a Bluetooth communication unit.

According to another example, an audio stream attribute can be anidentifier of an audio stream content provider. For instance, a firstaudio stream content provider can be Spotify®, a second audio streamcontent provider can be Youtube®, a third specific audio stream contentprovider can be Facebook®, etc. In that case, it is possible to e.g.,prioritize an audio stream from Spotify® over an audio stream fromYoutube®, etc.

According to another example, an audio stream attribute can be anidentifier of a type of audio stream contents. For instance, differenttypes of audio stream contents may include: music streams, videostreams, VoIP calls, phone calls, alarms, advertisings, etc. In thatcase, it is possible to e.g., prioritize alarms over phone calls, toprioritize phone calls over music streams and/or video streams, etc.

Hence, the local audio stream prioritization policy can be used to setdifferent priority values to different audio stream attributes, whichmay refer to e.g., different audio stream source devices, differenttypes of audio stream source devices, different audio stream contentproviders, different types of audio stream contents, etc. Of course, itis also possible to combine in the local audio stream prioritizationpolicy different types of audio stream attributes. For instance, it ispossible to prioritize alarms (e.g., fire alarms) over audio streamsfrom a specific smartphone, which are prioritized over audio streamsfrom Facebook®, which are prioritized over audio streams from any othersmartphone, which are prioritized over audio streams from laptops, etc.

In order to configure the local audio stream prioritization policy inthe audio rendering device, it is possible to use e.g., an audioconfigurator device connected by a wireless link to the audio renderingdevice. The audio configurator device configures the audio streamprioritization policy, based e.g., on user input, and transmitswirelessly the audio stream prioritization policy to the audio renderingdevice, where it is stored, preferably in a non-volatile memory, as allor part of the local audio stream prioritization policy of the audiorendering device.

It is only the audio rendering device and the audio configurator devicethat need to have specific hardware and/or software means. Hence, theaudio rendering device can be used with existing audio stream sourcedevices. It can operate with multiple audio stream source devices fromdifferent generations.

Also, since the audio rendering device selects the available audiostream to be played based on a previously stored local audio streamprioritization policy, said audio rendering device does not requirespecific hardware means for providing a user interface. The audiorendering device needs only to be able to connect to the audioconfigurator device which preferably includes a user interface.

In specific embodiments, the audio rendering device can further compriseone or more of the following features, considered either alone or in anytechnically possible combination.

In a specific embodiment, selecting an available audio stream to beplayed comprises:

-   -   determining a priority score for each available audio stream        based on the priority values associated, in the updated local        audio stream prioritization policy, to the audio stream        attributes of the available audio streams;    -   selecting the available audio stream based on the priority        scores.

Indeed, each available audio stream may comprise one or more priorityvalues, associated respectively to one or more audio stream attributes.If an available audio stream comprises only one audio stream attribute,then the priority score of this available audio stream can be chosenequal to the priority value associated to its audio stream attribute. Ifan available audio stream comprises several audio stream attributes,then the priority score of this available audio stream is determinedbased on the priority values associated to its audio stream attributes.The audio rendering device then selects the available audio stream forwhich the priority score satisfies the selection criterion. Forinstance, the audio rendering device may select the available audiostream having the priority score indicating highest priority.

In a specific embodiment, determining a priority score for an availableaudio stream having at least two audio stream attributes listed in theupdated local audio stream prioritization policy comprises at least oneof the following:

-   -   selecting one of the respective priority values associated to        the at least two audio stream attributes;    -   combining the respective priority values associated to the at        least two audio stream attributes.

In a specific embodiment, selecting one of the respective priorityvalues associated to the at least two audio stream attributes comprisesselecting the priority value indicating highest priority.

In a specific embodiment, when two available audio streams haveidentical priority values indicating highest priority, selecting oneavailable audio stream to be played among these two available audiostreams comprises comparing their respective priority values indicatingsecond highest priority.

In a specific embodiment, the at least two audio stream attributes beinglisted in different lists of the updated local audio streamprioritization policy, said different lists having different prioritylevels, selecting one of the respective priority values associated tothe at least two audio stream attributes comprises selecting thepriority value of the audio stream attribute of the list having thepriority level indicating highest priority.

In a specific embodiment, the remote audio stream prioritization policyis received from a first audio configurator device and the audiorendering device is configured to:

-   -   transmit, by the wireless communication unit and to a second        audio configurator device, the remote audio stream        prioritization policy received from the first audio configurator        device;    -   receive, by the wireless communication unit and from the second        audio configurator device, feedback information regarding        acceptance or rejection of the remote audio stream        prioritization policy;    -   update the local audio stream prioritization policy based on the        remote audio stream prioritization policy received from the        first audio configurator device when the feedback information        indicates an acceptance of said remote audio stream        prioritization policy received from the first audio configurator        device.

Hence, the audio rendering device may be connected to two or more audioconfigurator devices. In that case, in order to avoid conflicts, theaudio rendering device can forward a newly received remote audio streamprioritization policy to a second audio configurator device from whichit has previously received its local audio stream prioritization policy.The user of the second audio configurator device can then decide toeither accept or reject the newly received remote audio streamprioritization policy. When rejecting it, the local audio streamprioritization policy is not updated, but the second audio configuratordevice can suggest modifications to the remote audio streamprioritization policy which may be forwarded to the first audioconfigurator device, etc.

In a specific embodiment, at least one audio stream attribute of atleast one available audio stream is retrieved in a metadata informationrelated to said at least one available audio stream.

In a specific embodiment, the metadata information is extracted from theaudio stream content of said at least one available audio stream.

In a specific embodiment, the wireless communication unit is a Bluetoothcommunication unit. In that case, the reception of the remote audiostream prioritization policy is preferably performed with a BluetoothLow Energy Generic Attribute-based profile.

In a specific embodiment, the audio rendering device is configured todetermine autonomously an updated priority value of at least one audiostream attribute. For instance, the audio rendering device may determinethe updated priority value based on user habits and machine learning.

In a specific embodiment, the audio rendering device is configured to,when selecting a second audio stream over a first audio stream, stop thereception of the first audio stream content before starting thereception of the second audio stream content.

In a specific embodiment, the audio rendering device is configured to,when selecting a second audio stream over a first audio stream:

-   -   start the reception of the second audio stream content before        stopping the reception of the first audio stream content;    -   play simultaneously the first audio stream content and the        second audio stream content;    -   stop the reception of the first audio stream content.

In a specific embodiment, the audio rendering device is configured totransmit, by the wireless communication unit and to the audioconfigurator device, a list of at least one audio stream attributeand/or the local audio stream prioritization policy stored by the audiorendering device, the received remote audio stream prioritization policybeing based on the transmitted list and/or based on the local audiostream prioritization policy.

For instance, in order to initialize the local audio streamprioritization policy, the audio rendering device may send to the audioconfigurator device a list of at least two audio stream attributes ofaudio streams currently available to the audio rendering device, throughone or two audio stream source devices having a wireless link with theaudio rendering device. In that case, the audio configurator device mayreturn to the audio rendering device the audio stream prioritizationpolicy defined by the user for the at least two audio stream attributesmentioned in the received list.

According to another example, the audio rendering device may sendrecurrently its local audio stream prioritization policy to the audioconfigurator device, in order to prompt the user for any desired updateof the local audio stream prioritization policy.

According to another example, when a new audio stream attribute (i.e.,not listed in the local audio stream prioritization policy) becomesavailable to the audio rendering device, said audio rendering device maysend, to the audio configurator device, a list containing this new audiostream attribute with its local audio stream prioritization policy.Hence, the audio configurator device can return an updated audio streamprioritization policy augmented with the new audio stream attribute andits user-defined priority value.

It should be noted that, when a new audio stream attribute becomesavailable to the audio rendering device, it may also, for example,determine autonomously its priority value based on the local audiostream prioritization policy (e.g., if the corresponding audio streamhas at least one other audio stream attribute present in the local audiostream prioritization policy, it may re-use the priority value of saidat least one other audio stream attribute, etc.). In other examples, theaudio rendering device may be configured to e.g., associate any newaudio stream attribute with the priority value indicating highest orlowest priority. Preferably, any update of the local audio streamprioritization policy made autonomously by the audio rendering device issent to an audio configurator device in order to e.g., present it on theuser interface.

According to a second aspect, the present disclosure relates to a methodfor playing an audio stream by an audio rendering device comprising atleast one audio rendering unit for playing audio streams, wherein saidmethod comprises steps of:

-   -   receiving a remote audio stream prioritization policy comprising        one or more lists of associations between audio stream        attributes and priority values;    -   updating a local audio stream prioritization policy based on the        remote audio stream prioritization policy;    -   identifying audio streams that are available via wireless links;    -   retrieving audio stream attributes of the available audio        streams;    -   selecting an available audio stream to be played among the        available audio streams, based on the updated local audio stream        prioritization policy and based on the audio stream attributes        of the available audio streams;    -   playing the selected available audio stream by the at least one        audio rendering unit of the audio rendering device.

According to a third aspect, the present disclosure relates to acomputer program product comprising instructions which, when executed byan audio rendering device comprising at least one audio rendering unit,a processing circuit and a wireless communication unit for establishingwireless links, configure said audio rendering device to carry out amethod according to any one of the embodiments of the invention.

According to a fourth aspect, the present disclosure relates to an audioconfigurator device comprising a processing circuit, a user interfaceand a wireless communication unit for establishing a wireless link withan audio rendering device adapted for playing audio streams, whereinsaid audio configurator device is configured to:

-   -   receive, by the user interface, an input from a user;    -   configure, by the processing circuit and based on the received        input, an audio stream prioritization policy to be used by the        audio rendering device for prioritizing different audio streams,        wherein the audio stream prioritization policy includes one or        more lists of associations between audio stream attributes and        priority values;    -   transmit, by the wireless communication unit, the audio stream        prioritization policy to the audio rendering device.

In specific embodiments, the audio configurator device can furthercomprise one or more of the following features, considered either aloneor in any technically possible combination.

In a specific embodiment, each audio stream attribute corresponds to oneamong the following:

-   -   identifier of an audio stream source device;    -   identifier of a type of audio stream source device;    -   identifier of an audio stream content provider;    -   identifier of a type of audio stream contents.

In a specific embodiment, the audio configurator device is configured toreceive, by the wireless communication unit and from the audio renderingdevice, a list of at least one audio stream attribute and/or an audiostream prioritization policy stored by the audio rendering device,wherein the processing circuit is configured to determine the audiostream prioritization policy based on the received list and/or based onthe received audio stream prioritization policy, and based on thereceived input information.

In a specific embodiment, the audio configurator device is configuredto:

-   -   receive, by the wireless communication unit and from the audio        rendering device, a proposed audio stream prioritization policy        received by said audio rendering device from another audio        configurator device;    -   present, by the user interface, the proposed audio stream        prioritization policy to the user;    -   receive, by the user interface, feedback information regarding        acceptance or rejection of the proposed audio stream        prioritization policy;    -   transmit, by the wireless communication unit, the feedback        information to the audio rendering device.

In a specific embodiment, the audio configurator device is integrated inan audio stream source device.

In a specific embodiment, the wireless communication unit is a Bluetoothcommunication unit. In that case, the communication with the audiorendering device is preferably performed with a BLE GATT-based profile.

In a specific embodiment, the user interface is a graphical interfaceand/or a vocal interface.

According to a fifth aspect, the present disclosure relates to a methodfor configuring, by an audio configurator device, an audio renderingdevice connected to the audio configurator device by a wireless link,wherein said method comprises steps of:

-   -   receiving an input from a user via a user interface;    -   configuring, based on the received input, an audio stream        prioritization policy to be used by the audio rendering device        for prioritizing different audio streams, wherein the audio        stream prioritization policy includes one or more lists of        associations between audio stream attributes and priority        values;    -   transmitting the audio stream prioritization policy to the audio        rendering device.

According to a sixth aspect, the present disclosure relates to acomputer program product comprising instructions which, when executed byan audio configurator device comprising a user interface, a processingcircuit and a wireless communication unit for establishing wirelesslinks, configure said audio configurator device to carry out a methodaccording to any one of the embodiments of the present invention.

The invention will be better understood upon reading the followingdescription, given as an example that is in no way limiting, and made inreference to the figures.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates a schematic representation of a system comprising anaudio rendering device and an audio configurator device in accordancewith specific embodiments disclosed herein.

FIG. 2 illustrates a diagram representing the main steps of an exemplarymethod for playing audio streams by an audio rendering device inaccordance with specific embodiments disclosed herein.

FIG. 3 is a first example illustrating audio stream prioritizationpolicies and audio stream prioritization policy-based selection inaccordance with specific embodiments disclosed herein.

FIG. 4 is a second example illustrating audio stream prioritizationpolicies and audio stream prioritization policy-based selection inaccordance with specific embodiments disclosed herein.

FIG. 5 illustrates a diagram representing the main steps of an exemplarymethod for configuring an audio rendering device by an audioconfigurator device in accordance with specific embodiments disclosedherein.

FIG. 6 is a first exemplary embodiment illustrating the configurationand use of an audio stream prioritization policy by an audio renderingdevice in accordance with specific embodiments disclosed herein.

FIG. 7 is a second exemplary embodiment illustrating the configurationand use of an audio stream prioritization policy by an audio renderingdevice in accordance with specific embodiments disclosed herein.

FIG. 8 is a third exemplary embodiment illustrating the configurationand use of an audio stream prioritization policy by an audio renderingdevice in accordance with specific embodiments disclosed herein.

FIG. 9 is a fourth exemplary embodiment illustrating the configurationand use of an audio stream prioritization policy by an audio renderingdevice in accordance with specific embodiments disclosed herein.

FIG. 10 illustrates an example of a user interface of an audioconfigurator device, presenting an audio stream prioritization policy,in accordance with specific embodiments disclosed herein.

DETAILED DESCRIPTION

In the figures, references identical from one figure to anotherdesignate identical or analogous elements. For reasons of clarity, theelements shown are not to scale, unless explicitly stated otherwise.

FIG. 1 represents schematically an audio rendering device 10 and anaudio configurator device 20 mutually connected by a wireless link.

The audio rendering device 10 may be e.g., a pair of true wirelessearphones, a wireless speaker, a car entertainment system, etc. Theaudio rendering device 10 is adapted to play audio streams received fromaudio stream source devices (not shown in FIG. 1 ) via wireless links.

As illustrated by FIG. 1 , the audio rendering device 10 comprises atleast one audio rendering unit 13, a processing circuit 11 and awireless communication unit 12 for establishing wireless links.

The audio rendering unit 13 may be any suitable equipment adapted tomake an audio signal hearable by a user of the audio rendering device10, and may include at least one among e.g., a loudspeaker, an earphone,etc.

For example, the processing circuit 11 comprises one or more processorsand storage means (magnetic hard disk, solid-state disk, optical disk,electronic memory, etc.) in which a computer program product is stored,in the form of a set of program-code instructions to be executed inorder to implement all or a part of the steps of a method 50 for playingaudio streams. Alternatively, or in combination thereof, the processingcircuit 11 can comprise one or more programmable logic circuits (FPGA,PLD, etc.), and/or one or more specialized integrated circuits (ASIC),and/or a set of discrete electronic components, etc., adapted forimplementing all or part of said steps of the method 50 for playingaudio streams.

For example, the wireless communication unit 12, coupled to theprocessing circuit 11, corresponds to a radiofrequency circuitcomprising components (antenna(s), amplifier(s), local oscillator(s),mixer(s), analog and/or digital filter(s), etc.) considered known to theskilled person. The wireless communication unit 12 implements at leastone wireless communication protocol. For instance, the wirelesscommunication unit 12 can comprise at least one of the following:

-   -   a Bluetooth communication unit;    -   an Ultra Wide-Band (UWB) communication unit;    -   a Wi-Fi communication unit;    -   a ZigBee communication unit, etc.

The processing circuit 11, the wireless communication unit 12 and theaudio rendering unit 13 of the audio rendering device 10 form a set ofmeans configured by software (specific computer program product) and/orby hardware (processor, FPGA, PLD, ASIC, discrete electronic components,radiofrequency circuit, electroacoustic transducer, etc.) to implementthe steps of a method 50 for playing audio streams by the audiorendering device 10.

In the following description, the wireless communication unit 12 of theaudio rendering device 10 is considered, in a non-limitative manner, tobe a Bluetooth communication unit. Hence, the wireless links establishedby the audio rendering device 10 are considered to be Bluetooth links.

In the present disclosure, an audio stream corresponds toapplication-level data representing an audio signal. For instance, itcan be a bit stream coming from an audio streaming application, a musicfile stored locally read by an application, the output of an audioserver, etc. The audio stream content corresponds to the useful data(vs. metadata information) representing the audio data that is actuallyplayed by the audio rendering device 10. The audio stream content cancomprise one or more audio channels (e.g., mono or stereo music, etc.).

A Bluetooth audio stream refers to the Bluetooth terminology anddesignates the logical communication for streaming the application-levelaudio stream content between an audio stream source device and the audiorendering device 10. A Bluetooth audio stream uses Bluetooth packets ona single Bluetooth logical link (multiple Bluetooth audio streams canuse the same logical link).

In the present disclosure, a wireless link between two entities meansthat the respective data link layers of said entities are configured andready to exchange protocol data units using a wireless physical layer.The data link layer is the protocol layer right above the physicallayer, and the wireless link may use either a connected mode or aconnectionless mode to exchange protocol data units between saidentities.

Also, in the sequel, an audio stream is referred to as “active” when theaudio stream content is transmitted over the air from the audio streamsource device to the audio rendering device 10, and the audio renderingdevice 10 processes the wireless signals received to extract the audiostream content transmitted by the audio stream source device. An audiostream is referred to as “inactive” when no audio stream content istransmitted over the air or when the audio stream content is transmittedover the air but is not extracted by the audio rendering device 10 fromthe wireless signals received.

FIG. 2 represents schematically the main steps of an exemplaryembodiment of a method 50 for playing audio streams, said steps beingcarried out by the audio rendering device 10.

As illustrated by FIG. 2 , said method 50 for playing audio streamscomprises a step 51 of receiving a remote audio stream prioritizationpolicy from the audio configurator device 20.

The remote audio stream prioritization policy includes one or more listsof associations between audio stream attributes and priority values,that can be used by the audio rendering device 10 to prioritizeavailable audio streams. The remote audio stream prioritization policyincludes at least two different audio stream attributes, with theirrespective priority values. As discussed above, the priority values maybe indicated explicitly or implicitly in the remote audio streamprioritization policy.

Preferably, each audio stream attribute listed in the remote audiostream prioritization policy corresponds to at least one among thefollowing:

-   -   identifier of an audio stream source device (e.g., a specific        smartphone, a specific personal computer, etc.);    -   identifier of a type of audio stream source devices (e.g.,        smartphones, personal computers, TVs, voice assistants, etc.);    -   identifier of an audio stream content provider (e.g., Spotify®,        Youtube®, Facebook®, etc.);    -   identifier of a type of audio stream contents (e.g., alarms,        VoIP calls, phone calls, music streams, video streams, etc.),        etc.

Part a) of FIG. 3 represents an example of a remote audio streamprioritization policy comprising a single list of associations. Asillustrated by part a) of FIG. 3 , the single list comprises audiostream attributes of different types, and includes identifiers of audiostream devices (audio stream attributes: MAC addresses referred to as“MAC1” and “MAC2”), identifiers of audio streams content types (audiostream attributes: phone call and music streaming) and identifiers ofaudio stream content providers (audio stream attributes: Youtube® and)Spotify®. Each audio stream attribute in the single list has arespective priority value that is indicated explicitly in the singlelist. It should be noted that, in this example, a priority value equalto 1 indicates that the corresponding audio stream attribute (phonecall) is the audio stream attribute having the highest priority. Apriority value equal to 6 indicates that the corresponding audio streamattribute (MAC2) is the audio stream attribute having the lowestpriority.

Part a) of FIG. 4 represents an example of a remote audio streamprioritization policy comprising multiple lists of associations. Asillustrated by part a) of FIG. 4 , the remote audio streamprioritization policy comprises four lists of associations. In thisnon-limiting example, each list of associations relates to a specifictype of audio stream attribute, and the remote audio streamprioritization policy comprises:

-   -   a list of associations for identifiers of audio stream content        types (phone call and music streaming);    -   a list of associations for identifiers of audio stream source        device types (smartphone and laptop);    -   a list of associations for identifiers of audio stream content        providers (Spotify®, Youtube® and) Facebook®;    -   a list of associations for identifiers of audio stream source        devices (MAC1, MAC2 and MAC3).

Each audio stream attribute in each list has a respective priority valuethat is indicated explicitly. In this example, in each list, the audiostream attribute having the lowest priority value corresponds to theaudio stream attribute having the highest priority in the list, and viceversa.

It should be noted that it is also possible, in some embodiments, to setdifferent priority levels to different lists of associations of theremote audio stream prioritization policy, in order to e.g., furtherdifferentiate priority values retrieved from different lists ofassociations. In that case, and as discussed for the priority values,the priority levels may be explicitly mentioned in the remote audiostream prioritization policy, or implicitly mentioned, e.g., by havingthe lists of associations ordered in the remote audio streamprioritization policy according to their respective priority levels.

The method 50 for playing audio streams comprises also a step 52 ofupdating, by the processing circuit 11, a stored local audio streamprioritization policy based on the remote audio stream prioritizationpolicy received from the audio configurator device 20.

Indeed, the audio rendering device 10 stores a local audio streamprioritization policy in a memory, preferably non-volatile, of theprocessing circuit 11. This local audio stream prioritization policycorresponds for instance to an audio stream prioritization policypreconfigured by the manufacturer of the audio rendering device 10, orconfigured upon initialization of the audio rendering device 10 by auser, or previously received from the same audio configurator device 20or a different one.

Hence, during step 52, the newly received remote audio streamprioritization policy can be used to replace all or part of thepreviously stored local audio stream prioritization policy, therebyupdating the local audio stream prioritization policy applied by theaudio rendering device 10.

The method 50 for playing audio streams comprises also a step 53 ofidentifying, by the processing circuit 11, audio streams that areavailable via wireless links. An audio stream is referred to as“available” when the corresponding audio stream source device has awireless link with the wireless communication unit 12 of the audiorendering device 10, and has audio stream content available fortransmission over its wireless link with the audio rendering device 10.For instance, the audio rendering device 10 may monitor the list ofavailable connected Audio/Video Distribution Transport Protocol, AVDTP,links and their respective statuses.

Also, the method 50 for playing audio streams comprises a step 54 ofretrieving, by the processing circuit 11, audio streams attributes ofthe available audio streams. Basically, the processing circuit 11retrieves at least one audio stream attribute per available audiostream.

When there are multiple audio streams available for streaming, forinstance from one or several audio stream source devices connected tothe audio rendering device 10, then the audio rendering device 10 usesits local audio stream prioritization policy to prioritize audio streamsduring a selection step 55. Hence, the audio rendering device 10 cancompare the audio stream attributes of the available audio streams tothe audio stream attributes included in its local audio streamprioritization policy to retrieve the corresponding priority values ofthe available audio streams. Based on the priority values retrieved, theprocessing circuit 11 may identify and select the available audio streamfor which the one or more priority values satisfy a predeterminedselection criterion.

Basically, if each available audio stream comprises only a single audiostream attribute listed in the local audio stream prioritization policy,then it is possible to e.g., compare directly the associated priorityvalues to select the available audio stream having the audio streamattribute associated to the priority value indicating highest priority.

According to another example, if each available audio stream comprisesonly a single audio stream attribute listed in the local audio streamprioritization policy but in different lists of associations of thelocal audio stream prioritization policy, and if different prioritylevels are defined for the different lists of associations, then it ispossible to retrieve and use also the priority levels when selecting anavailable audio stream. For instance, if two audio stream attributeshave identical priority values, it is possible to select the availableaudio stream having the priority level indicating highest priority, etc.

When several audio stream attributes are retrieved for at least oneavailable audio stream, then it is possible to determine a priorityscore for each available audio stream based on the priority valuesretrieved. Then, selection of an available audio stream is based on thepriority scores.

For instance, determining a priority score for an available audio streamhaving at least two audio stream attributes listed in the local audiostream prioritization policy may consist in selecting as the priorityscore one of the retrieved priority values. Preferably, the selectedpriority value is the one indicating highest priority among theretrieved priority values.

If the at least two audio stream attributes are listed in differentlists of associations of the local audio stream prioritization policy,said different lists having different priority levels, then selectingone of the retrieved priority values may comprise selecting the priorityvalue of the audio stream attribute of the list of associations havingthe priority level indicating highest priority.

When the selected priority values of two available audio streams areidentical, it is possible, for instance, to compare their respectivepriority values indicating second highest priority, etc.

Part b) of FIG. 3 illustrates the selection of an available audiostream, based on the local audio stream prioritization policyrepresented in part a) of FIG. 3 . In part b) of FIG. 3 , there are twoavailable audio streams:

-   -   a first available audio stream for which the retrieved audio        stream attributes are: MAC1, smartphone and phone call;    -   a second available audio stream for which the retrieved audio        stream attributes are: MAC2, laptop, music streaming and        Spotify®.

First it should be noted that the local audio stream prioritizationpolicy (part a) of FIG. 3 ) does not include the audio stream attributessmartphone and laptop, such that no priority value is retrieved forthese audio stream attributes.

For the first available audio stream, the priority value of the audiostream attribute MAC1 is equal to 5 and the priority value of the audiostream attribute phone call is equal to 1. Since the priority value of 1indicates a higher priority than the priority value of 5, the priorityscore is selected to be equal to 1, i.e. the priority value of the audiostream attribute phone call.

For the second available audio stream, the priority value of the audiostream attribute MAC2 is equal to 6, the priority value of the audiostream attribute music streaming is equal to 2 and the priority value ofthe audio stream attribute Spotify® is equal to 4. The priority score isselected to be equal to 2, i.e., the priority value of the audio streamattribute music streaming.

In the example of part b) of FIG. 3 , the selected available stream isthe first available audio stream, since the priority score of 1indicates a higher priority than the priority score of 2.

Part c) of FIG. 3 illustrates another example of the selection of anavailable audio stream among two available audio streams, based on thelocal audio stream prioritization policy represented in part a) of FIG.3 :

-   -   a first available audio stream for which the retrieved audio        stream attributes are: MAC1, smartphone and phone call;    -   a second available audio stream for which the retrieved audio        stream attributes are: MAC2, laptop and phone call.

For the first available audio stream, the priority value of the audiostream attribute MAC1 is equal to 5 and the priority value of the audiostream attribute phone call is equal to 1. Hence, the priority score isinitially set to 1.

For the second available audio stream, the priority value of the audiostream attribute MAC2 is equal to 6 and the priority value of the audiostream attribute phone call is equal to 1. Hence, the priority score isinitially set to 1.

Since the priority scores of the first and second available audiostreams are initially identical (both equal to 1), the priority scoresare set to the priority values indicating second highest priority.

For the first audio stream, the priority value indicating second highestpriority is the priority value of 5 associated to the audio streamattribute MAC1, such that the priority score is set to 5.

For the second audio stream, the priority value indicating secondhighest priority is the priority value of 6 associated to the audiostream attribute MAC2, such that the priority score is set to 6.

In the example of part c) of FIG. 3 , the selected available stream isthe first available audio stream, since the priority score of 5indicates a higher priority than the priority score of 6.

Part b) of FIG. 4 illustrates the selection of an available audiostream, based on the local audio stream prioritization policyrepresented in part a) of FIG. 4 . In part b) of FIG. 4 , there are twoavailable audio streams:

-   -   a first available audio stream for which the retrieved audio        stream attributes are: MAC1, smartphone and phone call;    -   a second available audio stream for which the retrieved audio        stream attributes are: MAC2, laptop, music streaming and        Spotify®.

For the first available audio stream, the priority value of the audiostream attribute MAC1 is equal to 3, the priority value of the audiostream attribute smartphone is equal to 1 and the priority value of theaudio stream attribute phone call is equal to 1. Since the priorityvalue of 1 indicates a higher priority than the priority value of 3, thepriority score is initially selected to be equal to 1.

For the second available audio stream, the priority value of the audiostream attribute MAC2 is equal to 1, the priority value of the audiostream attribute laptop is equal to 2, the priority value of the audiostream attribute music streaming is equal to 2 and the priority value ofthe audio stream attribute Spotify® is equal to 2. The priority score isinitially selected to be equal to 1.

Since the priority scores of the first and second available audiostreams are initially identical (both equal to 1), the priority scoresare set to the priority values indicating second highest priority.

For the first audio stream, three different audio stream attributes havea priority value of 1, such that the priority value indicating secondhighest priority is also the priority value of 1, and the priority scoreis set to 1.

For the second audio stream, the priority value indicating secondhighest priority is the priority value of 2, such that the priorityscore is set to 2.

In the example of part b) of FIG. 4 , the selected available stream isthe first available audio stream, since the priority score of 1indicates a higher priority than the priority score of 2.

Part c) of FIG. 4 illustrates the selection of an available audiostream, based on the local audio stream prioritization policyrepresented in part a) of FIG. 4 . Part c) of FIG. 4 further illustratesthe case where different priority levels are associated to the differentlists of associations, and it is assumed that:

-   -   the list of associations for identifiers of audio stream content        types (phone call and music streaming) has a priority level of 1        (indicating highest priority in this example);    -   the list of associations for identifiers of audio stream source        devices (MAC1, MAC2 and MAC3) has a priority level of 2;    -   the list of associations for identifiers of audio stream content        providers (Spotify®, Youtube® and Facebook®) has a priority        level of 3;    -   the list of associations for identifiers of audio stream source        device types (smartphone and laptop) has a priority level of 4        (indicating lowest priority in this example).

In part c) of FIG. 4 , there are two available audio streams:

-   -   a first available audio stream for which the retrieved audio        stream attributes are: phone call, MAC1 and smartphone;    -   a second available audio stream for which the retrieved audio        stream attributes are: music streaming, MAC2, Spotify® and        laptop.

The list of associations having the priority level indicating highestpriority corresponds to the list of associations for identifiers ofaudio stream content types (phone call and music streaming).

For the first available audio stream, the audio stream attributeidentifying the audio stream content type is set to phone call, and theassociated priority value is equal to 1. The priority score is set to 1.

For the second available audio stream, the audio stream attributeidentifying the audio stream content type is set to music streaming, andthe associated priority value is equal to 2. The priority score is setto 2.

In the example of part c) of FIG. 4 , the selected available stream isthe first available audio stream, since the priority score of 1indicates a higher priority than the priority score of 2.

Part d) of FIG. 4 illustrates the selection of an available audiostream, based on the local audio stream prioritization policyrepresented in part a) of FIG. 4 , and using the same priority levels asdefined for part c) of FIG. 4 . In part d) of FIG. 4 , there are twoavailable audio streams:

-   -   a first available audio stream for which the retrieved audio        stream attributes are: music streaming, MAC1 and smartphone;    -   a second available audio stream for which the retrieved audio        stream attributes are: music streaming, MAC2, Spotify® and        laptop.

The list of associations having the priority level indicating highestpriority corresponds to the list of associations for identifiers ofaudio stream content types (phone call and music streaming).

For the first available audio stream, the audio stream attributeidentifying the audio stream content type is set to music streaming, andthe associated priority value is equal to 2. The priority score isinitially set to 2.

For the second available audio stream, the audio stream attributeidentifying the audio stream content type is set to music streaming, andthe priority score is initially set to 2.

Since the priority scores of the first and second available audiostreams are initially identical (both equal to 2), the priority scoresare updated by considering the list of associations having the prioritylevel indicating second highest priority, which corresponds to the listof associations for identifiers of audio stream source devices (MAC1,MAC2 and MAC3).

For the first available audio stream, the audio stream attributeidentifying the audio stream source device is set to MAC1, and theassociated priority value is equal to 3. The priority score is set to 3.

For the second available audio stream, the audio stream attributeidentifying the audio stream source device is set to MAC2, and theassociated priority value is equal to 1. The priority score is set to 1.

In the example of part d) of FIG. 4 , the selected available stream isthe second available audio stream, since the priority score of 1indicates a higher priority than the priority score of 3.

According to other examples, determining a priority score for anavailable audio stream having at least two audio stream attributeslisted in the local audio stream prioritization policy may comprisecombining the priority values retrieved from the local audio streamprioritization policy. For instance, it is possible to compute thepriority score as the mean value of the retrieved priority values, or asa weighted sum of said retrieved priority values, etc. When the priorityvalues are retrieved from different lists of associations havingdifferent respective priority levels, then the priority score may becomputed as a weighted sum of the retrieved priority values, wherein theweighting coefficients depend on the priority levels of the differentpriority values, etc.

The selected available audio stream is then played by the audiorendering unit 13 of the audio rendering device 10, during a playingstep 56.

The audio rendering device 10 can detect later on that the selectedaudio stream has become no longer available, for instance because theaudio stream source device has no more audio stream content to transmitto the audio rendering device 10 and/or because the audio stream sourcedevice has been disconnected from the audio rendering device 10. In thatcase, the audio rendering device 10 can select automatically anotheraudio stream among the available audio streams by using its local audiostream prioritization policy, without user intervention. For instance,if a phone call had been selected over music streaming, then the audiorendering device 10 can return to the music streaming once the phonecall has stopped.

As illustrated in FIG. 1 , the audio configurator device 20 comprises aprocessing circuit 21 and a wireless communication unit 22.

For example, the processing circuit 21 comprises one or more processorsand storage means (magnetic hard disk, solid-state disk, optical disk,electronic memory, etc.) in which a computer program product is stored,in the form of a set of program-code instructions to be executed inorder to implement all or a part of the steps of a method 60 forconfiguring the audio rendering device 10. Alternatively, or incombination thereof, the processing circuit 21 can comprise one or moreprogrammable logic circuits (FPGA, PLD, etc.), and/or one or morespecialized integrated circuits (ASIC), and/or a set of discreteelectronic components, etc., adapted for implementing all or part ofsaid steps.

For example, the wireless communication unit 22, coupled to theprocessing circuit 21, corresponds to a radiofrequency circuitcomprising components (antenna(s), amplifier(s), local oscillator(s),mixer(s), analog and/or digital filter(s), etc.) considered known to theskilled person. As discussed above, the wireless communication unit 22implements at least one wireless communication protocol. In thenon-limitative example considered herein, the wireless communicationunit 22 is a Bluetooth communication unit.

The audio configurator device 20 comprises also a user interface 23 (notrepresented FIG. 1 ) adapted for interacting with a user, i.e., adaptedfor receiving inputs from said user, and for presenting outputs to saiduser. For instance, the user interface 23 can comprise a graphicalinterface (touchscreen, screen, projector, keyboard, mouse, etc.) and/ora vocal interface (microphone, speech recognition capabilities, etc.).

In other words, the processing circuit 21, the wireless communicationunit 22 and the user interface 23 of the audio configurator device 20form a set of means configured by software (specific computer programproduct) and/or by hardware (processor, FPGA, PLD, ASIC, discreteelectronic components, radiofrequency circuit, etc.) to implement all orpart of the steps of a method 60 for configuring the audio renderingdevice 10.

It should be noted that the audio configurator device 20 may beintegrated in an audio stream source device, in which case it can bothconfigure the audio rendering device 10 and transmit audio streams tothe audio rendering device 10. However, the audio configurator device 20is not necessarily integrated with an audio stream source device, andmay for instance, in some embodiments, consist in a remote controldedicated to the configuration of the audio rendering device 10.

FIG. 5 represents schematically the main steps of an exemplaryembodiment of a method 60 for configuring an audio rendering device 10by an audio configurator device 20. As illustrated by FIG. 5 , saidmethod 60 for configuring the audio rendering device 10 comprises thefollowing steps, executed by the audio configurator device 20:

-   -   a step 61 of receiving an input from a user;    -   a step 62 of configuring, based on the received input, an audio        stream prioritization policy to be used by the audio rendering        device 10 for prioritizing different audio streams;    -   a step 63 of transmitting the audio stream prioritization policy        to the audio rendering device 10.

During step 61, the user interface 23 receives an input from the userregarding the respective priority values that should be associated todifferent audio stream attributes. This step 61, which can resume tocollecting the user's input for configuring the audio streamprioritization policy, can be implemented in various ways, and anyspecific implementation is considered within the scope of the presentdisclosure.

For instance, the user can provide directly all the requiredinformation, i.e., both the audio stream attributes and the respectivepriority values. Alternatively or in combination, the user interface 23can present to the user a list of audio stream attributes, which cancorrespond e.g. to a list of audio stream source devices paired with orlikely to be paired with the audio rendering device 10. Based on thepresented list, the user can provide the corresponding desired priorityvalues, etc.

In some embodiments, the audio configurator device 20 may receive, fromthe audio rendering device 10, a list of at least one audio streamattribute and/or the local audio stream prioritization policy stored bythe audio rendering device 10. In that case, the audio configuratordevice 20 configures the audio stream prioritization policy based on theuser's input, but also based on the received list and/or based on thelocal audio stream prioritization policy received from the audiorendering device 10. For instance, the received list and/or the receivedlocal audio stream prioritization policy may be presented to the userbefore receiving the user's input. Whether or not the audio configuratordevice 20 receives from the audio rendering device 10 a list of at leastone audio stream attribute and/or the local audio stream prioritizationpolicy stored by the audio rendering device 10 might depend on theelected implementation and/or on a configuration phase. For instance, ifthe configuration phase corresponds to the first configuration of theaudio rendering device 10 (i.e., initialization), then the audio streamprioritization policy might be configured only by using the user's inputor it can use also a received list of audio stream attributes associatedto available audio streams. Subsequently, the audio configurator device20 might receive, on a regular basis and/or when the audio renderingdevice 10 is switched ON, the local audio stream prioritization policyof the audio rendering device 10 in order to prompt the user for anyrequired modification. Also, the audio configurator device 20 mayreceive both a list of at least one audio stream attribute and the localaudio stream prioritization policy of the audio rendering device 10 whene.g., a new audio stream attribute becomes available.

In some embodiments, the audio rendering device 10 may also beconfigured to determine autonomously updated priority values of audiostream attributes. For instance, the audio rendering device 10 maydetermine an updated priority value based on user habits and machinelearning.

Based on the user's input, the audio configurator device 20 canconfigure the audio stream prioritization policy during step 62.

FIG. 10 represents schematically a non-limitative example of a userinterface 23 of an audio configurator device 20 presenting an exemplaryaudio stream prioritization policy to the user.

In the example illustrated by FIG. 10 , the audio stream prioritizationpolicy comprises several lists of associations ordered by theirrespective priority levels, a list of associations towards the top ofthe user interface 23 having a higher priority than a list ofassociations towards the bottom of said user interface 23, and viceversa. As illustrated by FIG. 10 , the audio stream prioritizationpolicy comprises four such lists of associations:

-   -   a list of associations for identifiers of audio stream content        types (referred to as “streams” in FIG. 10 );    -   a list of associations for identifiers of audio stream source        devices (referred to as “devices” in FIG. 10 );    -   a list of associations for identifiers of audio stream content        providers (referred to as “platforms” in FIG. 10 );    -   a list of associations for identifiers of audio stream source        device types (referred to as “device type” in FIG. 10 ).

For each list of associations, the user interface 23 shows several audiostream attributes ordered according to their respective priority values,an audio stream attribute towards the left of the user interface 23having a higher priority than an audio stream attribute towards theright of said user interface 23, and vice versa. For instance, the audiostream attribute phone call has a higher priority than the audio streamattribute audio stream, the audio stream attribute smartphones has ahigher priority than the audio stream attribute laptops, which has ahigher priority than the audio stream attribute smartwatches, etc.

The audio stream prioritization policy is then transmitted, during step63, to the audio rendering device 10. This transmitted audio streamprioritization policy, configured and transmitted by the audioconfigurator device 20, is received by the audio rendering device 10 asa remote audio stream prioritization policy, and is used by the audiorendering device 10 to update its local audio stream prioritizationpolicy. Preferably, the communication between the audio configuratordevice 20 and the audio rendering device 10, when based on a version 4.0or later of the Bluetooth protocol, is performed with a Bluetooth LowEnergy Generic Attribute-based profile. However, other profiles andother wireless communication protocols can also be used in otherembodiments.

FIGS. 6 to 9 represent exemplary embodiments showing how an audio streamprioritization policy can be configured and used.

In these figures, two different audio stream source devices areconsidered, respectively referred to as SRC1 and SRC2. Of course, adifferent number of audio stream source devices can be considered. Also,in these figures, each audio stream source device SRC1, SRC2 is also anaudio configurator device 20. Of course, the present disclosure can beused with a single audio configurator device 20, which is notnecessarily integrated in an audio stream source device, as discussedabove.

In the example illustrated by FIG. 6 , the audio stream source deviceSRC1 is a laptop, the audio stream source device SRC2 is a smartphone,and the audio rendering device 10 is a loudspeaker. In FIG. 6 , theaudio stream attributes of the audio stream prioritization policy areassumed in a non-limitative manner to correspond to the respective MACaddresses of the audio stream source devices SRC1, SRC2.

In FIG. 6 , the local audio stream prioritization policy initiallyprioritizes audio streams from the audio stream source device SRC1 overaudio streams from the audio stream source device SRC2. The local audiostream prioritization policy may consist, for instance, in an orderedsingle list comprising first the MAC address of the audio stream sourcedevice SRC1, and comprising second the MAC address of the audio streamsource device SRC2.

Initially, a first audio stream from the audio stream source device SRC1is active, and a first audio stream content is transmitted from theaudio stream source device SRC1 to the audio rendering device 10(reference S60). Then, the audio stream source device SRC2 sends to theaudio rendering device 10 a request for transmitting a second audiostream (reference S61). Based on its local audio stream prioritizationpolicy, the audio rendering device 10 rejects this request (referenceS62). Then, the audio stream source device SRC2 configures a new audiostream prioritization policy (e.g., based on user input) and transmitsit to the audio rendering device 10 (reference S63). The audio renderingdevice 10 then updates its local audio stream prioritization policybased on the new (remote) audio prioritization policy received from theaudio stream source device SRC2 (reference S64). Then, the audio streamsource device SRC2 resends to the audio rendering device 10 a requestfor transmitting the second audio stream (reference S65). Based on itsupdated local audio stream prioritization policy, the audio renderingdevice 10 accepts this request and requests the audio stream sourcedevice SRC1 to stop transmitting the first audio stream content(reference S66), such that the audio rendering device 10 stops thereception of the first audio stream content. Then, the audio renderingdevice 10 notifies its acceptance to the audio stream source device SRC2(reference S67). The second audio stream becomes active, and the audiostream source device SRC2 starts transmitting the second audio streamcontent (reference S68), thereby switching the audio rendering device 10to the second audio stream.

It should be noted that the Bluetooth audio stream for exchanging thesecond (application-level) audio stream content between the audio streamsource device SRC2 and the audio rendering device 10 may be establishedbefore deciding to switch to this second audio stream (for instanceduring step S63 or S65). A Bluetooth audio stream is referred to as“established” if both the audio stream source device and the audiorendering device 10 are ready to respectively transmit and receive thecorresponding (application-level) audio stream content. Alternatively,the Bluetooth audio stream for exchanging the second (application-level)audio stream content between the audio stream source device SRC2 and theaudio rendering device 10 may be established only after the audiorendering device 10 selects the second audio stream over the first audiostream. In that case, signaling for establishing said Bluetooth audiostream still needs to be exchanged before being able to transmit andreceive the second audio stream content (for instance during step S67).

It should also be noted that, in FIG. 6 , the audio stream source deviceSRC2 does not necessarily have to resend to the audio rendering device10 a request for transmitting the second audio stream (reference S65).For instance, if the second audio stream is still available whenupdating the local audio stream prioritization policy (reference S64),then the audio rendering device 10 can automatically switch to thesecond audio stream by requesting the audio stream source device SRC1 tostop transmitting the first audio stream (reference S66), and bynotifying its acceptance of the second audio stream to the audio streamsource device SRC2 (reference S67).

As illustrated by FIG. 6 , a plurality of audio configurator devices 20may be connected simultaneously to the audio rendering device 10. Ifthese audio configurator devices 20 are assumed to belong to a sameuser, then the new (remote) audio stream prioritization policy receivedfrom one of the audio configurator devices 20 may be used directly toupdate the local audio stream prioritization policy of the audiorendering device 10. However, if the audio configurator devices 20belong to different users, then the behavior described with reference toFIG. 6 might not be optimal since it might result in uncontrolledupdates of the local audio stream prioritization policy of the audiorendering device 10.

FIG. 7 illustrates a specific embodiment for the case where differentaudio configurator devices 20 belong to different users.

As illustrated by FIG. 7 , the local audio stream prioritization policyconsists in a single list which initially prioritizes audio streams fromthe audio stream source device SRC1 over audio streams from the audiostream source device SRC2. Also, a first audio stream is transmittedfrom the audio stream source device SRC1 to the audio rendering device10 (reference S70). Then, the audio stream source device SRC2 sends tothe audio rendering device 10 a proposed audio stream prioritizationpolicy (reference S71). Rather than updating directly its local audioprioritization policy, the audio rendering device 10 sends the proposedaudio stream prioritization policy to the audio stream source deviceSRC1 (reference S72). The audio stream source device SRC1 may thenpresent the proposed audio stream prioritization policy to its user, viathe user interface 23. The audio stream source device SRC1 then receivesfeedback information from the user, regarding acceptance or rejection ofthe proposed audio stream prioritization policy, and forwards thisfeedback information to the audio rendering device 10 (reference S73).In the example illustrated by FIG. 7 , the feedback informationindicates an acceptance of the proposed audio stream prioritizationpolicy and the audio rendering device 10 updates its local audio streamprioritization policy (reference S74). Then, the audio stream sourcedevice SRC2 sends to the audio rendering device 10 a request fortransmitting a second audio stream (reference S75). Based on its updatedlocal audio stream prioritization policy, the audio rendering device 10accepts this request and requests the audio stream source device SRC1 tostop transmitting the first audio stream content (reference S76), suchthat the audio rendering device 10 stops the reception of the firstaudio stream content. Then, the audio rendering device 10 notifies itsacceptance to the audio stream source device SRC2 (reference S77). Thesecond audio stream becomes active, and the audio stream source deviceSRC2 starts transmitting the second audio stream content (referenceS78), thereby switching the audio rendering device 10 to the secondaudio stream.

As indicated above, an audio stream attribute can e.g., refer todifferent types of audio stream sources.

For instance, an audio stream attribute may correspond to an identifierof an audio stream source device or of a type of audio stream sourcedevices. Such audio stream attributes can be easily retrieved when theaudio rendering device 10 is paired to an audio stream source device, byusing signaling exchanged during pairing such as the MAC address or theBluetooth device class of the audio stream source device.

An audio stream attribute can also be e.g., an identifier of an audiostream source content provider (Spotify®, Youtube®, Facebook®, etc.) orof a type of audio stream content (alarm, phone call, music streaming,video streaming, etc.). In that case, it might be convenient to useaudio stream signaling, referred to as “metadata information”, in orderto enable the audio rendering device 10 to retrieve such audio streamattributes from the available audio streams. This metadata information,exchanged between the audio stream source devices and the audiorendering device 10, may be e.g., transmitted separately from the audiostream content, or embedded directly in the audio stream content byusing audio watermarking techniques. An advantage of including themetadata information directly in the audio stream content is that it canbe included directly by the audio stream content provider, therebyrequiring no specific hardware or software means in the audio streamsource devices to support such metadata information. A drawback ofincluding the metadata information directly in the audio stream contentis that the corresponding audio stream needs to be active in order to beable to extract the metadata information, such that the audio renderingdevice 10 may need to have two or more audio streams activesimultaneously.

FIGS. 8 and 9 illustrate exemplary embodiments showing how metadatainformation can be used by the audio rendering device 10.

In the example illustrated by FIG. 8 , the audio stream source deviceSRC1 is a laptop, the audio stream source device SRC2 is a smartphone,and the audio rendering device 10 corresponds to earphones. In FIG. 8 ,the audio stream attributes of the local audio stream prioritizationpolicy are assumed in a non-limitative manner to correspond toidentifiers of the audio stream content providers, ordered by decreasingpriority values as Youtube®, Spotify® and Facebook®. In FIG. 8 , it isassumed that metadata information is transmitted separately from theaudio stream content.

Initially, a first audio stream is active, transmitted by the audiostream source device SRC1 to the audio rendering device 10 (referenceS80). The audio rendering device 10 has retrieved the metadatainformation for the first audio stream, indicating that it is an audiostream from Spotify®. Then, the audio stream source device SRC2 sends tothe audio rendering device 10 a request for transmitting a second audiostream (reference S81), together with metadata information indicatingthat it is an audio stream from Facebook®. Based on its local audiostream prioritization policy, the audio rendering device 10 rejects thisrequest (reference S82). Then, the audio stream source device SRC2 sendsto the audio rendering device 10 a request for transmitting a thirdaudio stream (reference S83), together with metadata informationindicating that it is an audio stream from Youtube®. Based on its localaudio stream prioritization policy, the audio rendering device 10accepts this request and requests the audio stream source device SRC1 tostop transmitting the first audio stream content (reference S84), suchthat the audio rendering device 10 stops the reception of the firstaudio stream content. Then, the audio rendering device 10 notifies itsacceptance to the audio stream source device SRC2 (reference S85). Thethird audio stream becomes active, and the audio stream source deviceSRC2 starts transmitting the third audio stream content (reference S86).

FIG. 8 also illustrates that, later on, the third audio stream stops(reference S87). In that case, if the first audio stream is stillavailable, the audio rendering device 10 may request the audio streamsource device SRC1 to restart transmitting the first audio streamcontent (reference S88), and the first audio stream is re-activated(reference S89).

In the example illustrated by FIG. 9 , the audio stream attributes ofthe audio stream prioritization policy are assumed in a non-limitativemanner to correspond to identifiers of the types of audio streamcontents, ordered by decreasing priority values as phone call, musicstreaming and audio advertising. In FIG. 9 , it is assumed that themetadata information is embedded in the audio stream content.

Initially, a first audio stream is active, transmitted by the audiostream source device SRC1 to the audio rendering device 10 (referenceS90). The audio rendering device 10 has extracted the metadatainformation from the first audio stream content, indicating that itcorresponds to music streaming. Then, the audio stream source deviceSRC2 activates a second audio stream (reference S91), and the secondaudio stream content is transmitted to the audio rendering device 10,with metadata information embedded therein indicating that itcorresponds to audio advertising. It is emphasized that, at this stage,both the first audio stream and the second audio stream are active,although only the first audio stream is played by the audio renderingunit 13. The metadata information is extracted from the second audiostream content by the audio rendering device 10 (reference S92). Basedon its local audio stream prioritization policy, the audio renderingdevice 10 rejects this second audio stream (reference S93), which isthen deactivated. Then, the audio stream source device SRC2 activates athird audio stream (reference S94), and the third audio stream contentis transmitted to the audio rendering device 10, with metadatainformation embedded therein indicating that it corresponds to a phonecall. The metadata information is extracted from the third audio streamcontent by the audio rendering device 10 (reference S95). Based on itslocal audio stream prioritization policy, the audio rendering device 10may notify the audio stream source device SRC2 that the third audiostream is accepted (reference S96) in order to ensure that the thirdaudio stream remains active (reference S97). The audio rendering device10 may stop playing the first audio stream content before playing thethird audio stream content. Alternatively, and as illustrated by FIG. 9, it may play simultaneously the first and third audio stream contents,e.g., by ducking the first audio stream content with the third audiostream content (reference S98). After the ducking is completed, theaudio rendering device 10 requests the audio stream source device SRC1to stop transmitting the first audio stream content (reference S99),such that the first audio stream is deactivated.

It should be noted that it is also possible to use, as an alternative orin combination with metadata information, audio stream contentprocessing algorithms which can process directly the audio streamcontent in order to estimate the audio stream content type or any othercontextual information in relation with the audio stream content (e.g.,type of music, type of spoken language, etc.). For instance, suchalgorithms may process the audio stream content to determine e.g.,whether it corresponds to music or to speech (i.e., phone call), etc. Ofcourse, the corresponding audio stream needs to be active in order to beable to process the audio stream content.

As discussed above, it is understood that the switching from a firstaudio stream to a second audio stream may be performed in differentways.

For instance, it is possible to have, in some embodiments, at most oneactive audio stream. In that case, the first audio stream needs to bedeactivated before the second audio stream is activated, in a kind of“break before make” approach. Hence, the audio rendering device 10 stopsthe reception of the first audio stream content before starting thereception of the second audio stream content (see e.g., FIGS. 6 to 8 ).Such an approach is advantageous in that it may reduce the powerconsumption and the processing of the audio rendering device 10.

It should be noted that, in the present disclosure, stopping thereception of an audio stream means that the audio rendering device stopsextracting the audio stream content from the wireless signals receivedfrom the audio stream source device. It may imply exchanging signalingbetween the audio stream source device and the audio rendering device 10to ensure that the audio stream source device stops the transmission ofthe audio stream content to the audio rendering device 10. For instance,the audio rendering device 10 may stop the reception of audio streamcontent by sending an audio/video distribution transport protocol(AVDTP) suspend request to the audio stream source device which, inresponse, suspends the Bluetooth audio stream such that the transmissionof the (application-level) audio stream content is stopped.

Also, starting the reception of an audio stream means that the audiorendering device starts extracting the audio stream content from thewireless signals received from the audio stream source device. Ofcourse, this may imply exchanging signaling between the audio streamsource device and the audio rendering device 10 to ensure that the audiostream source device starts the transmission of the audio stream contentto the audio rendering device 10. For instance, the audio renderingdevice 10 may start the reception of audio stream content by sending anAVDTP start request to the audio stream source device (which, inresponse, starts the Bluetooth audio stream and starts the transmissionof the application-level audio stream content), and by starting toextract the audio stream content from the received wireless signals.

In other embodiments, it is possible to have, at least intermittently,two (or more) audio streams active simultaneously. In that case, it ispossible to play only one audio stream content at the time. Hence, theaudio rendering device 10 stops playing the first audio stream contentbefore starting to play the second audio stream content. The first audiostream content, still extracted by the audio rendering device 10, ise.g., trashed without being played by the audio rendering unit 13.However, it is also possible, in other embodiments, to playsimultaneously the first and second audio stream contents at leastintermittently, for instance by ducking the first audio stream contentwith the second audio stream content (see e.g., FIG. 9 ).

It is emphasized that the present invention is not limited to the aboveexemplary embodiments. Variants of the above exemplary embodiments arealso within the scope of the present invention.

For instance, the exemplary embodiments have been described by focusingon the fact that the local audio stream prioritization policy isconfigured by an audio configurator device 20 connected to the audiorendering device 10 by a wireless link. However, in other embodiments,the local audio stream prioritization policy may be preconfigured by themanufacturer of the audio rendering device 10, and/or it might beconfigurable by an audio configurator device 20 that is connected to theaudio rendering device 10 by a wired link.

Also, the exemplary embodiments have been described by focusing on thefact that the wireless links are Bluetooth links. However, in otherembodiments, it is also possible to use other wireless communicationprotocols. In some embodiments, the audio rendering device 10 may evensupport a plurality of wireless communication protocols, and may usedifferent wireless communication protocols to connect wirelessly todifferent devices. For instance, the audio rendering device 10 mayconnect to the audio configurator device 20 via a Bluetooth link and mayconnect to an audio stream source device via a Wi-Fi link, etc.

What is claimed is:
 1. An audio configurator device comprising aprocessing circuit, a user interface and a wireless communication unitfor establishing a wireless link with an audio rendering device adaptedfor playing audio streams, wherein said audio configurator device isconfigured to: receive, by the user interface, an input from a user;configure, by the processing circuit and based on the received input, anaudio stream prioritization policy to be used by the audio renderingdevice for prioritizing different audio streams, wherein the audiostream prioritization policy includes one or more lists of associationsbetween audio stream attributes and priority values; and transmit, bythe wireless communication unit, the audio stream prioritization policyto the audio rendering device.
 2. The audio configurator deviceaccording to claim 1, wherein each audio stream attribute corresponds toone of: an identifier of an audio stream source device; an identifier ofa type of audio stream source devices; an identifier of an audio streamcontent provider; and an identifier of a type of audio stream contents.3. The audio configurator device according to claim 1, wherein: theaudio stream attributes are listed in two or more lists of the audiostream prioritization policy in association with the priority values;and the two or more lists have different priority levels.
 4. The audioconfigurator device according to claim 1, configured to: receive, by thewireless communication unit and from the audio rendering device, aproposed audio stream prioritization policy received by said audiorendering device from another audio configurator device; present, by theuser interface, the proposed audio stream prioritization policy to theuser; receive, by the user interface, feedback information regardingacceptance or rejection of the proposed audio stream prioritizationpolicy; and transmit, by the wireless communication unit, the feedbackinformation to the audio rendering device.
 5. The audio configuratordevice according to claim 4, wherein the audio stream prioritizationpolicy is updated based on the feedback information transmitted by theaudio configurator device.
 6. The audio configurator device according toclaim 1, wherein the audio configurator device is integrated in an audiostream source device.
 7. The audio configurator device according toclaim 1, wherein communication with the audio rendering device isperformed with a Bluetooth Low Energy Generic Attribute-based profile.8. The audio configurator device according to claim 1, wherein the userinterface is a graphical interface and/or a vocal interface.
 9. A methodfor configuring, by an audio configurator device, an audio renderingdevice connected to the audio configurator device by a wireless link,wherein said method comprises steps of: receiving an input from a uservia a user interface; configuring, based on the received input, an audiostream prioritization policy to be used by the audio rendering devicefor prioritizing different audio streams, wherein the audio streamprioritization policy includes one or more lists of associations betweenaudio stream attributes and priority values; and transmitting the audiostream prioritization policy to the audio rendering device.
 10. Themethod according to claim 9, wherein each audio stream attributecorresponds to one of: an identifier of an audio stream source device;an identifier of a type of audio stream source device; an identifier ofan audio stream content provider; and an identifier of a type of audiostream contents.
 11. The method according to claim 9, wherein: the audiostream attributes are listed in two or more lists of the audio streamprioritization policy in association with the priority values; and thetwo or more lists have different priority levels.
 12. The methodaccording to claim 9, further comprising: receiving, from the audiorendering device, a proposed audio stream prioritization policy receivedby said audio rendering device from another audio configurator device;presenting, by the user interface, the proposed audio streamprioritization policy to the user; receiving, by the user interface,feedback information regarding acceptance or rejection of the proposedaudio stream prioritization policy; and transmitting the feedbackinformation to the audio rendering device.
 13. The method according toclaim 12, wherein the audio stream prioritization policy is updatedbased on the feedback information transmitted by the audio configuratordevice.
 14. The method according to claim 9, wherein the audioconfigurator device is integrated in an audio stream source device. 15.The method according to claim 9, wherein communication with the audiorendering device is performed with a Bluetooth Low Energy GenericAttribute-based profile.
 16. The method according to claim 9, whereinthe user interface is a graphical interface and/or a vocal interface.17. Non-transitory computer-readable media storing instructions which,when executed by an audio configurator device comprising a userinterface, a processing circuit and a wireless communication unit forestablishing wireless links, cause said audio configurator device to:receive, by the user interface, an input from a user; configure, by theprocessing circuit and based on the received input, an audio streamprioritization policy to be used by an audio rendering device forprioritizing different audio streams, wherein the audio streamprioritization policy includes one or more lists of associations betweenaudio stream attributes and priority values; and transmit, by thewireless communication unit, the audio stream prioritization policy tothe audio rendering device.
 18. The non-transitory computer-readablemedia according to claim 17, wherein each audio stream attributecorresponds to one of: an identifier of an audio stream source device;an identifier of a type of audio stream source devices; an identifier ofan audio stream content provider; and an identifier of a type of audiostream contents.
 19. The non-transitory computer-readable mediaaccording to claim 17, wherein: the audio stream attributes are listedin two or more lists of the audio stream prioritization policy inassociation with the priority values; and the two or more lists havedifferent priority levels.
 20. The non-transitory computer-readablemedia according to claim 17 further storing instructions to cause theaudio configurator device to: receive, from the audio rendering device,a proposed audio stream prioritization policy received by said audiorendering device from another audio configurator device; present, by theuser interface, the proposed audio stream prioritization policy to theuser; receive, by the user interface, feedback information regardingacceptance or rejection of the proposed audio stream prioritizationpolicy; and transmit, by the wireless communication unit, the feedbackinformation to the audio rendering device.